<div class="breadcrumbs" id="breadcrumbs">

    <script type="text/javascript">
        try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
    </script>

    <ul class="breadcrumb">
        <i class="icon-home home-icon"></i>
        <li class="active">Bảng điều khiển</li>
    </ul>
</div>
<div class="page-content">
<div class="page-header">
	<h1>
		Bảng điều khiển
		<small>
			<i class="icon-double-angle-right"></i>
			Tổng quan
		</small>
	</h1>
</div><!-- /.page-header -->

<div class="row">
<div class="col-xs-12">
<!-- PAGE CONTENT BEGINS -->

<div class="row">
	<div class="col-sm-12">
		<div class="widget-box transparent">
			<div class="widget-header widget-header-flat">
				<h4 class="lighter">
					<i class="icon-star orange"></i>
					Các đơn hàng gần đây
				</h4>

				<div class="widget-toolbar">
					<a href="#" data-action="collapse">
						<i class="icon-chevron-up"></i>
					</a>
				</div>
			</div>

			<div class="widget-body">
				<div class="widget-main no-padding">
					<table class="table table-bordered table-striped">
						<thead class="thin-border-bottom">
						<tr>
							<th width="50%">
								<i class="icon-caret-right blue"></i>
								Tên công ty
							</th>
							<th width="10%">
								<i class="icon-caret-right blue"></i>
								Mã số thuế
							</th>

							<th width="20%">
								<i class="icon-caret-right blue"></i>
								Số hợp đồng
							</th>

							<th width="10%">
								<i class="icon-caret-right blue"></i>
								Tổng tiền
							</th>

							<th width="10%">
								<i class="icon-caret-right blue"></i>
								Trạng thái
							</th>
						</tr>
						</thead>

						<tbody>
						<?php foreach($contracts as $contract) {?>
							<tr>
								<td><?php echo $contract->name;?></td>
								<td><?php echo $contract->tax;?></td>
								<td><?php echo $contract->contract;?></td>
								<td><b class="green"><?php echo $contract->total;?> đ</b></td>
								<td>
									<span class="<?php echo $contract->statusLabel?>"><?php echo $contract->statusText?></span>
								</td>
							</tr>
						<?php }?>
						</tbody>
					</table>
				</div><!-- /widget-main -->
			</div><!-- /widget-body -->
		</div><!-- /widget-box -->
	</div>

</div>

<div class="hr hr32 hr-dotted"></div>
</div>
</div>
</div>